package com.ykh.mybbsdemo.service;

import com.ykh.mybbsdemo.vo.Result;
import com.ykh.mybbsdemo.vo.params.CommentParam;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-09-01
 * Time: 17:03
 */
public interface CommentsService {

    /**
     * 根据文章ID查询所有的评论列表
     * @param articleId
     * @return
     */
    Result commentsByArticleId(Long articleId);

    /**
     * 评论功能
     * @param commentParam
     * @return
     */
    Result comment(CommentParam commentParam);
}
